<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>Title</title>
    <style>
    body{
    font-family: "微软雅黑";
    background: url("img/1.jpg") no-repeat;
    background-attachment: fixed;
    background-size: cover;
    color: white;
    text-align: center;
    }

    .box{
    position: absolute;
    top:50%;
    margin-top: -200px;
    left: 50%;
    margin-left: -200px;
    border:1px solid black;
    width: 400px;
    height: 400px;
    background-color: #00000068;
    border-radius: 10px;
    box-shadow: 10px 10px 10px 10px rgba(0,0,0, .3);
    }
    .but{
    width: 40%;
    background-image: linear-gradient(120deg,#f6d365 0%,#fda085 100%);
    border-radius: 40px;
    border: 0px;
    font-size: 20px;
    color: white;
    }
    .but:hover{
    background-image:linear-gradient(to right,#b4731d 0%,#f16943 100%);
    }
    .box1{
    margin-top: 100px;
    }
    .box2{
    margin-top: 50px;
    }
    .box3{
    margin-top: 25px;
    }
    .box4{
    margin-top: 50px;
    }
    a{
    text-decoration: none;
    }
    .form-control{
    background-color: rgba(255,255,255,0);
    width: 60%;
    border: 0px;
    border-bottom: 2px solid silver;
    outline: none;
    color: white;
    }
    </style>
  </head>
  <body>

  <div class="box">
    <h1>找回密码</h1>
    <form action="/project1_war/mainUserPasswordServlet" method="post">
      <div class="box1">
        请输入您的用户名:<input type="text" name="mainuserName" class="form-control"  required="true">
      </div>
      <div class="box2">
        <input type="submit" value="查找密码" class="but">
        <a href="MainUserPage.jsp"><input type="button" value="返回" class="but"></a>
      </div>
    </form>
  </div>

  </body>
</html>
